SftTree/OCX 7.0

SftTreeCell.ImageHAlign Property

Softel vdm, Inc.

Defines the horizontal alignment of the graphic in this cell.

Syntax       

Get

VB.NET

Style = object.ImageHAlign  As SftTreeHAlignConstants

VB

Style = object.ImageHAlign  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants Style = object.ImageHAlign;

VC++

enum SftTreeHAlignConstants Style = object->ImageHAlign;
enum SftTreeHAlignConstants Style = object->GetImageHAlign();

C

HRESULT object->get_ImageHAlign(enum SftTreeHAlignConstants* Style);

Delphi

Style := object.ImageHAlign  : TOleEnum;

Put

VB.NET

object.ImageHAlign = Style  As SftTreeHAlignConstants

VB

object.ImageHAlign = Style  As SftTreeHAlignConstants

C#.NET

SftTreeHAlignConstants object.ImageHAlign = Style;

VC++

enum SftTreeHAlignConstants object->ImageHAlign = Style;
void object->PutImageHAlign(enum SftTreeHAlignConstants Style);

C

HRESULT object->put_ImageHAlign(enum SftTreeHAlignConstants Style);

Delphi

object.ImageHAlign := Style  : TOleEnum;

object

A SftTreeCell object.

Style

Defines the horizontal alignment of the graphic in this cell.

Name

Value

Description

halignSftTreeLeft

0

The graphic is on the left of the cell text.

halignSftTreeCenter

1

The graphic is centered in the cell.

halignSftTreeRight

2

The graphic is on the right of the cell text.

Comments

The ImageHAlign property defines the horizontal alignment of the graphic in this cell.

The Cell.ImageVAlign property is used to define the vertical alignment of the graphic in this cell.  The cell graphic is defined using the Cell.Image property.

See Also  SftTreeCell Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com